<?php
/**
 * Page to display on creation of new wiki
 * 
 *     SCMwiki Copyright (C) 2010  Callan Bryant <callan1990@googlemail.com>
 *
 *     Based on Voswork - A simple, fast PHP filesystem abstraction layer
 *     Voswork Copyright (C) 2010  Callan Bryant <callan1990@googlemail.com>
 * 
 *     This program is free software: you can redistribute it and/or modify
 *     it under the terms of the GNU General Public License as published by
 *     the Free Software Foundation, either version 3 of the License, or
 *     (at your option) any later version.
 * 
 *     This program is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *     GNU General Public License for more details.
 * 
 *     You should have received a copy of the GNU General Public License
 *     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * 
 * @package main
 * @author Callan Bryant <callan1990@googlemail.com>
 */

$page = new template;

$page->title = 'Welcome';
$page->description = 'No wiki pages found';
$page->article =
'<h2>Install successful. Yay!</h2>
<h3>What now?</h3>
<p>To begin, simply create some <code>.wiki</code> files in
<code>'.WIKI_DIR.'</code> with <a href="?node=syntax">this syntax!</a></p>
<h3>Configuration</h3>
<p>Make <code>'.CONFIG_FILE.'</code>, using the contents of
<code>'.DEFAULTS_FILE.'</code> to configure this wiki.</p>
<h3>Version control and collaboration</h3>
<p>To version pages and allow for developer collaboration like a regular wiki,
you are free to use any form of SCM; Mercurial is recommended.</p>
<p>With your chosen SCM, initialise a central repo under
<code>'.WIKI_DIR.'</code>.</p>';
$page->note = 'Thank you for choosing scmwiki!';

echo $page; 
